# $Id: PKGBUILD 65546 2012-02-21 08:51:13Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Dmitry N. Shilov <stormblast@land.ru>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=gtk-aurora-engine
pkgver=1.5.1
pkgrel=3
pkgdesc="gtk-engine: latest member of the clearlooks family"
arch=('i686' 'x86_64')
url="http://www.gnome-look.org/content/show.php/Aurora+Gtk+Engine?content=56438"
license=('GPL')
depends=('gtk2')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://www.gnome-look.org/CONTENT/content-files/56438-aurora-${pkgver}.tar.bz2)
md5sums=('5eeea57c5938306ad7ccfc7cd71d009d')

build() {
	cd ${srcdir}
	tar xzf aurora-gtk-engine-1.5.tar.gz -C ${srcdir}
	cd ${srcdir}/aurora-1.5
	./configure --prefix=/usr --enable-animation
	make
}

package() {
	cd ${srcdir}/aurora-1.5
	make DESTDIR=${pkgdir} install
	mkdir -p ${pkgdir}/usr/share/themes
	tar xjf ../Aurora.tar.bz2 -C ${pkgdir}/usr/share/themes
	chown -R root:root ${pkgdir}/usr/share/themes
}
